package com.springspirit.framework.jms;

import org.springframework.jms.core.JmsTemplate;

public class JmsQueueSenderImpl implements JmsQueueSender{

	private JmsTemplate jmsTemplate;
	
	public void setJmsTemplate(JmsTemplate jmsTemplate) {
		this.jmsTemplate = jmsTemplate;
	}

	public void send(Object message) {
		jmsTemplate.convertAndSend(message);
	}

}
